package com.ruoyi.system.domain.vo.reportstatistics;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Accessors(chain = true)
@ToString
public class PersonFaceResultStatistics {
    //识别结果
    private Integer result;
    //公司名称
    private Long companyId;
    @Excel(name = "所属公司", sort = 1)
    private String companyName;
    //识别时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @Excel(name = "识别时间", dateFormat = "yyyy-MM-dd HH:mm:ss", sort = 4)
    private Date time;
    //驾驶员姓名
    @Excel(name = "姓名", sort = 2)
    private String driverName;
    //车牌号
    @Excel(name = "设备名称", sort = 0)
    private String numberPlate;
    //识别图片
    private String picture;
    //识别结果
    @Excel(name = "识别结果", sort = 3)
    private String resultStr;
    //公司简称
    private String comapnyShortName;

    @Override
    public String toString() {
        return "PersonFaceResultDO{" +
                "result=" + result +
                ", companyId=" + companyId +
                ", companyName='" + companyName + '\'' +
                ", time=" + time +
                ", driverName='" + driverName + '\'' +
                ", numberPlate='" + numberPlate + '\'' +
                ", picture=" + picture +
                ", resultStr='" + resultStr + '\'' +
                ", comapnyShortName='" + comapnyShortName + '\'' +
                '}';
    }
}
